const { defineConfig } = require('@vue/cli-service')
const CopyWebpackPlugin = require('copy-webpack-plugin')
module.exports = defineConfig({
  transpileDependencies: true,
  configureWebpack:{
    plugins:[
      new CopyWebpackPlugin([
        {
          from: 'node_modules/@easydarwin/easyplayer/dist/component/EasyPlayer.wasm'
        },
        {
          from: 'node_modules/@easydarwin/easyplayer/dist/component/crossdomain.xml'
        },
        {
          from: 'node_modules/@easydarwin/easyplayer/dist/component/EasyPlayer-lib.min.js',
          to: 'js/'
        }
      ])
    ]
  }
 

})
